<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>双向绑定</title>
    <script src="vue.js"></script>
</head>
<body>
<div id="app">
    <input type="text" v-model="info">
</div>
<script>
    let v = new Vue({
        el: '#app',
        data: {
            info: "双向绑定"
        }
    });

    setTimeout(function () {
        alert("用户输入的信息：" + v.info);
    }, 5000);
</script>
</body>
</html>